package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Cars car1=new Cars();
        car1.brand="奔驰";
        car1.color="红";
        car1.price=89;
        car1.start();
        car1.run();
        car1.stop();


         Cars a =new Cars();
         Cars c=new Cars("特斯拉","红",350);
         c.start();
         c.run();
         c.stop();
    }
}

